<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
  <jsp:include page="/yemeiServlet"></jsp:include>
  
  <section class="pro-list">
   <aside class="pro-leftsidebar">
        <ul>
            <li>
                <a>婚纱搜索</a>
                <ul id="pro-search">
                    <li><a><input type="text"  class="pro-search"><a class="pro-search-btn">搜索</a></a></li>
                </ul>
            </li>
            <li>
                <a>婚纱分类</a>
                <ul id="pro-category">
                   <c:forEach items="${typeList}" var="typeList">
                    <li><a href="#">${typeList.productTypeName }</a></li>
                    </c:forEach>
                </ul>
            </li>
        </ul>
    </aside>

    <aside class="pro-rightsidebar">
        <header>

                    <p>
            <span>${typeName}</span>
     </p>
        </header>
        <ul>
        <c:forEach items="${productList}" var="item">
        
            <li >
                <a href="productdetailsServlet?Id=${item.id }">
							<div class="img-box">
								<img src="${item.picUrl}">
								<p>${item.proName}</p>
							</div>
					</a>
					</li>
        </c:forEach>
            
        </ul>
        <div class="pro_list_more_pages">
            <ul>
                <li><a>上一页</a></li>
                <li class="pro-list-current"><a>1</a></li>
                <li><a>2</a></li>
                <li><a>3</a></li>
                <li><a>下一页</a></li>
            </ul>
        </div>
    </aside>


</section>
  
  
  <jsp:include page="/yejiaoServlet"></jsp:include>
</body>
</html>